﻿using System.ComponentModel.Composition;
using ScrumFactory.Composition.ViewModel;
using System.Windows.Controls;


namespace ScrumFactory.ProjectTeam {

    /// <summary>
    /// Interaction logic for RolesList.xaml
    /// </summary>
    [Export(typeof(IRolesListView))]
    public partial class RolesList : UserControl, IRolesListView {


        private IRolesListViewModel model;

        public RolesList() {
            InitializeComponent();
        }

        #region IRolesListView Members

         [Import]
        public IRolesListViewModel Model {
            get {
                return model;
            }
            set {
                model = value;
                DataContext = model;
            }
        }

        #endregion
    }
}
